package com.创建型模型.D单例模式;

/**
 * @author zhangjiawen
 * @Date: 2022/6/1 11:08
 */
public class HungryMan {

    public final static  HungryMan hungryMan=new HungryMan();

    private HungryMan(){}

    public static HungryMan getInstance(){
        return hungryMan;
    }

}
